﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


class NisPrime
{
    static void Main(string[] args)
    {
        Console.WriteLine("Enter number N:");
        int n = Convert.ToInt32(Console.ReadLine());
        double sqrt = Math.Sqrt(n);
        int count = 0;
        for (int i = 1; i < sqrt; i++) 
        {
            if ((n % i) == 0) 
            {
                count++;
                Console.WriteLine("Test n{0}, i{1}, count{2}", n, i, count);
            }
        }
        bool isPrime = (count == 1);
        Console.WriteLine("The n {0} is prime ? - {1}", n, isPrime);
    }
}

